package wjl.project.dubboelabauthapi;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

public class RedisKeys {
    /**
     * redis 短信验证标识 后加 用户phone  key
     *
     * 6为随机数  value
     *
     * 1分钟 时效
     *
    * */
    public static final RedisKE PHONE_KEY = RedisKE.builder().key("phone_key_").time(60L).build();
    @Builder
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class RedisKE{
        private String key;
        private long time;



    }

}
